package cn.edu.xmist.supermarketsys.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 商品
 */
@Data
@TableName("t_product")
public class Product {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private double price;
    private Long num;
    private String houseCode;
    private String supplierCode;
    @TableField(exist = false)
    private String houseName;
    @TableField(exist = false)
    private String supplierName;
}
